//
//  ComposeToolBarView.swift
//  ZMWEIBO
//
//  Created by 庄猛 on 17/1/11.
//  Copyright © 2017年 BeiSheng. All rights reserved.
//

import UIKit

protocol ToolBarViewDelegate : NSObjectProtocol {
    func firstBtnDidClick()

    func sencendBtnDidClick()

    func thirdBtnDidClick()

    func fourBtnDidClick()

    func fiveBtnDidClick()

}


class ComposeToolBarView: UIToolbar {

    weak var myDelegate : ToolBarViewDelegate?

    @IBAction func firstBtnDidClick(_ sender: UIBarButtonItem) {
        myDelegate?.firstBtnDidClick()
    }

    @IBAction func sencendBtnDidClick(_ sender: UIBarButtonItem) {
        myDelegate?.sencendBtnDidClick()

    }


    @IBAction func thirdBtnDidClick(_ sender: UIBarButtonItem) {
        myDelegate?.thirdBtnDidClick()

    }


    @IBAction func fourBtnDidClick(_ sender: UIBarButtonItem) {
        myDelegate?.fourBtnDidClick()

    }

    
    @IBAction func fiveBtnDidClick(_ sender: UIBarButtonItem) {
        myDelegate?.fiveBtnDidClick()

    }


}
